﻿using System.ComponentModel.DataAnnotations;
using Orchard.ContentManagement.Records;
using Orchard.Environment.Extensions;

namespace LoadIn.Maps.Bing.Models
{
    [OrchardFeature("LoadIn.Maps.Bing")]
    public class BingMapsSettingsPartRecord : ContentPartRecord
    {
        [StringLength(128)]
        public virtual string ApiKey { get; set; }

        [StringLength(20)]
        public virtual string Mode { get; set; }
    }
}